package com.bhy702.generator.builder;

import lombok.Data;

/**
 * @author: brbai
 * @create: 2019-12-26 11:16:02
 * @description: Column实体类
 */
@Data
public class Column {

    //数据库内字段名
    private String columnName;

    //字段类型
    private String type;

    //字段转化后的名称（首字母小写）
    private String lowerPropertyName;

    //字段转化后的名称（首字母大写）
    private String upperPropertyName;

    public Column(String columnName, String type, String lowerPropertyName, String upperPropertyName) {
        this.columnName = columnName;
        this.type = type;
        this.lowerPropertyName = lowerPropertyName;
        this.upperPropertyName = upperPropertyName;
    }
}
